package com.ebanma.cloud.user;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 启动类
 */
@MapperScan(basePackages = "com.ebanma.cloud.user.dao")
@SpringBootApplication(scanBasePackages = "com.ebanma.cloud.**.*")
@EnableDiscoveryClient
@EnableDubbo(scanBasePackages = "com.ebanma.cloud.user.api")
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }

}
